﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.Sales_Purchase
{
    /// <summary>
    /// 个体销售
    /// </summary>
    public class SalesRecord : Aubuit
    {
        /// <summary>
        /// 主见
        /// </summary>
        public int SalesRecordId { get; set; }
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime SalesDate { get; set; }

        /// <summary>
        /// 客户
        /// </summary>
        public string Customer { get; set; }

        /// <summary>
        /// 销售员
        /// </summary>
        public string SalesPerson { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public int Department { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string Warehouse { get; set; }

        /// <summary>
        /// 收货地址
        /// </summary>
        public string ShippingAddress { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNumber { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNumber { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        public int EarTag { get; set; }

        /// <summary>
        /// 箫敷交价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 定价
        /// </summary>
        public decimal ListPrice { get; set; }

        /// <summary>
        /// 折扣比例
        /// </summary>
        public decimal DiscountRate { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public int Grade { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public int Breed { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 羊只类型
        /// </summary>
        public int SheepType { get; set; }

        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int BreedingStatus { get; set; }

        /// <summary>
        /// 栋舍
        /// </summary>
        public int Barn { get; set; }

        /// <summary>
        /// 栏位
        /// </summary>
        public int Stall { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthDate { get; set; }

        /// <summary>
        /// 出生重(kg)
        /// </summary>
        public decimal BirthWeight { get; set; }

        /// <summary>
        /// 断奶重(kg)
        /// </summary>
        public decimal WeaningWeight { get; set; }

        /// <summary>
        /// 父号
        /// </summary>
        public string FatherId { get; set; }

        /// <summary>
        /// 母号
        /// </summary>
        public string MotherId { get; set; }

        /// <summary>
        /// 月龄
        /// </summary>
        public string AgeInMonths { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        
    }
}
